<template>
  <div id="payContent" v-html="props.payContent"></div>
</template>

<script setup>
import { watch, nextTick } from 'vue'
const props = defineProps(['payContent'])
watch(() => props.payContent, (newval, oldval) => {
	nextTick(() => {
		document.querySelector('#payContent').firstChild.submit()
	})
})
</script>

<style scoped lang="scss">
</style>